package cetb.domain;

import java.util.Collection;
import cetb.domain.Comment;
import cetb.domain.Product;

/**
 * @author   alumno
 */
public class Shop extends User {

	/**
	 * @uml.property  name="cif"
	 */
	private String cif;
	
	/**
	 * @uml.property  name="category"
	 */
	private String category;
	
	/**
	 * @param cif
	 * @uml.property  name="cif"
	 */
	public void setCif(String cif) {
		this.cif = cif;
	}

	/**
	 * @return
	 * @uml.property  name="cif"
	 */
	public String getCif(){
		return cif;
	}
	
	/**
	 * @param category
	 * @uml.property  name="category"
	 */
	public void setCategory(String category) {
		this.category = category;
	}
	
	/**
	 * @return
	 * @uml.property  name="category"
	 */
	public String getCategory(){
		return category;
	}

	/**
	 * @uml.property  name="comments"
	 * @uml.associationEnd  multiplicity="(0 -1)" aggregation="composite" inverse="shop:cetb.domain.Comment"
	 */
	private Collection<Comment> comments;

	/**
	 * Getter of the property <tt>comments</tt>
	 * @return  Returns the comments.
	 * @uml.property  name="comments"
	 */
	public Collection<Comment> getComments() {
		return comments;
	}

	/**
	 * Setter of the property <tt>comments</tt>
	 * @param comments  The comments to set.
	 * @uml.property  name="comments"
	 */
	public void setComments(Collection<Comment> comments) {
		this.comments = comments;
	}

	/**
	 * @uml.property  name="products"
	 * @uml.associationEnd  multiplicity="(0 -1)" aggregation="composite" inverse="shop:cetb.domain.Product"
	 */
	private Collection<Product> products;

	/**
	 * Getter of the property <tt>products</tt>
	 * @return  Returns the products.
	 * @uml.property  name="products"
	 */
	public Collection<Product> getProducts() {
		return products;
	}

	/**
	 * Setter of the property <tt>products</tt>
	 * @param products  The products to set.
	 * @uml.property  name="products"
	 */
	public void setProducts(Collection<Product> products) {
		this.products = products;
	}

	/** 
	 * @uml.property name="orders"
	 * @uml.associationEnd multiplicity="(0 -1)" aggregation="composite" inverse="shop:cetb.domain.Order"
	 */
	private Collection<Order> orders;

	/** 
	 * Getter of the property <tt>orders</tt>
	 * @return  Returns the orders.
	 * @uml.property  name="orders"
	 */
	public Collection<Order> getOrders() {
		return orders;
	}

	/** 
	 * Setter of the property <tt>orders</tt>
	 * @param orders  The orders to set.
	 * @uml.property  name="orders"
	 */
	public void setOrders(Collection<Order> orders) {
		this.orders = orders;
	}

}
